/**
 * $Id: DAOFactory.java,v 1.34.4.12 2009/02/26 17:53:59 c052898 Exp $
 */
package ar.com.personalTravellers.daos.factory;

import ar.com.personalTravellers.daos.*;
import com.angel.dao.generic.factory.DAOFactory;
import com.angel.resourceBundle.daos.propertyValue.SimplePropertyValueDAO;

/**
 *
 * @Author William
 */
public final class PTDAOFactory extends DAOFactory{

    private static PTDAOFactory INSTANCE;

    private RoomDAO roomDAO;
    private HotelDAO hotelDAO;
    private CountryDAO countryDAO;
    private NeighborhoodDAO neighborhoodDAO;
    private ClientDAO clientDAO;
    private ClientConsultationDAO clientConsultationDAO;
    private SimplePropertyValueDAO simplePropertyValueDAO;
    private LanguageInternationalizerDAO languageInternationalizerDAO;

    private PTDAOFactory(){
        super();
    }

    public static PTDAOFactory createInstance() {
        if (INSTANCE == null) {
            INSTANCE = new PTDAOFactory();
            return INSTANCE;
        }
        return INSTANCE;
    }

    public RoomDAO getRoomDAO() {
        return roomDAO;
    }

    public void setRoomDAO(RoomDAO roomDAO) {
        this.roomDAO = roomDAO;
    }

    public HotelDAO getHotelDAO() {
        return hotelDAO;
    }

    public void setHotelDAO(HotelDAO hotelDAO) {
        this.hotelDAO = hotelDAO;
    }

    public CountryDAO getCountryDAO() {
        return countryDAO;
    }

    public void setCountryDAO(CountryDAO countryDAO) {
        this.countryDAO = countryDAO;
    }

    public LanguageInternationalizerDAO getLanguageInternationalizerDAO() {
        return languageInternationalizerDAO;
    }

    public void setLanguageInternationalizerDAO(LanguageInternationalizerDAO languageInternationalizerDAO) {
        this.languageInternationalizerDAO = languageInternationalizerDAO;
    }

    public SimplePropertyValueDAO getSimplePropertyValueDAO() {
        return simplePropertyValueDAO;
    }

    public void setSimplePropertyValueDAO(SimplePropertyValueDAO simplePropertyValueDAO) {
        this.simplePropertyValueDAO = simplePropertyValueDAO;
    }

    public NeighborhoodDAO getNeighborhoodDAO() {
        return neighborhoodDAO;
    }

    public void setNeighborhoodDAO(NeighborhoodDAO neighborhoodDAO) {
        this.neighborhoodDAO = neighborhoodDAO;
    }

    public ClientDAO getClientDAO() {
        return clientDAO;
    }

    public void setClientDAO(ClientDAO clientDAO) {
        this.clientDAO = clientDAO;
    }

    public ClientConsultationDAO getClientConsultationDAO() {
        return clientConsultationDAO;
    }

    public void setClientConsultationDAO(ClientConsultationDAO clientConsultationDAO) {
        this.clientConsultationDAO = clientConsultationDAO;
    }
}